echo "Generating map..."

cd map_generate

echo "Discret the map..."
python3 generate_map.py ../datas outdoor_final.yaml 60

echo "Generate D_bin.txt  ..."
cd ../policy_generate_and_test

echo "Compile get_dist_bin.cpp ..."
g++ get_dist_bin.cpp -O3 -o get_dist_bin

echo "Run get_dist_bin.cpp ..."
./get_dist_bin

echo "Convert txt to npy fromat..."
python3 txt2npy.py


echo "Working Done"